package com.jspx.upload.multipart;

import java.io.File;

/**
 * Created by yuan on 2015/8/6 0006.
 *
 */
public interface RenamePolicy {

    /**
     * Returns a File object holding a new name for the specified file.
     * 这里是新文件，不是目录
     * @see FilePart#writeTo(File fileOrDirectory)
     */
    File rename(File f);

}
